package com.yh.patterns.factory.abstract_factory;

/**
 * @Auther:云尚学Java
 * 意大利风味的甜点工厂
 * 生产拿铁咖啡和抹茶慕斯提拉米苏
 */
public class ItalyDessertFactory implements DessertFactory{
    @Override
    public Coffee createCoffee() {
        return new LatteCoffee();
    }
    @Override
    public Dessert createDessert() {
        return new Tiramisu();
    }
}
